package com.demdudes.disch.renderer;

import com.badlogic.gdx.graphics.OrthographicCamera;
import com.badlogic.gdx.math.Vector3;

public abstract class GameRenderer {

	private OrthographicCamera camera;

	public GameRenderer(OrthographicCamera camera) {
		this.camera = camera;
	}

	public Vector3 translateCoordinates(float x, float y) {
		Vector3 screenCoordinates = new Vector3(x, y, 0);
		Vector3 result = camera.unproject(screenCoordinates);
		return result;
	}

}
